package com.ruoyi.system.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.ruoyi.system.domain.PStoreProductAttrValue;
import com.ruoyi.system.domain.vo.PStoreProductAttrValueVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商品属性值Mapper接口
 *
 * @author ruoyi
 * @date 2022-08-01
 */
public interface PStoreProductAttrValueMapper extends BaseMapperPlus<PStoreProductAttrValueMapper, PStoreProductAttrValue, PStoreProductAttrValueVo> {

    /**
     * 联表规格详情
     */
    List<PStoreProductAttrValue> selectLeftOssList(@Param("ew") Wrapper<PStoreProductAttrValue> eq);

    /**
     * 联表-规格详情
     */
    PStoreProductAttrValue selectLeftOssOne(@Param("ew") LambdaQueryWrapper<PStoreProductAttrValue> lqw);
}
